package com.ruoyi.stock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 出库对象 t_warehouse_out
 *
 * @author YwaiX
 * @date 2024-10-29
 */

@Data
public class WarehouseOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 出库编号 */
    @Excel(name = "出库编号")
    private String warehouseOutNo;

    /** 来源(关联销售订单或采购订单) */
    @Excel(name = "来源(关联销售订单或采购订单)")
    private String sourceNo;

    /** 出库类型(领料出库/销售出库)(字典) */
    @Excel(name = "出库类型(领料出库/销售出库)(字典)")
    private Long goodsType;

    /** 出库状态(待质检,待出库,已出库) */
    @Excel(name = "出库状态(待质检,待出库,已出库)")
    private Long warehouseOutStatus;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warehouseOutDate;

    /** 出库人id */
    @Excel(name = "出库人id")
    private Long userId;

}
